{extend name="base"}
{block name="title"}系统消息详情{/block}
{block name="head"}
<style>
    .tab-content dl dt {width:64px;}
    .tab-content dl dd {margin-left:70px;}
    .mainbody{padding:0;margin:0;}
    textarea {max-width:360px; max-height:65px; width:360px; height:65px;}
</style>
{/block}
{block name="body"}
<body class="mainbody">
<!--内容-->
<!--
{:var_dump($row)}
-->
<div class="tab-content" style="border:1px solid #eee;">
    <form>
        <dl>
            <dt>公告标题：</dt>
            <dd>
                <textarea class="input" name="szTitle">{$row.szTitle|default=''|htmlentities}</textarea>
                <span class="Validform_checktip">* 最长255字</span>
            </dd>
        </dl>
        <dl>
            <dt>公告内容：</dt>
            <dd>
                <textarea class="input" name="szContent">{$row.szContent|default=''|htmlentities}</textarea>
                <span class="Validform_checktip">* 最长1024字</span>
            </dd>
        </dl>

        <dl>
            <dt>公告范围：</dt>
            <dd id="byShowScene">
                <div class="rule-multi-radio">
                    <span style="display: none;">
                      {foreach name="byShowScene" item="val"}
                      <input type="radio" id="{$key}" name="byShowScene" value="{$key}"{notempty name="row.byShowScene"}{eq name="row.byShowScene" value="$key"} checked{/eq}{/notempty} /><label>{$key}={$val}</label>
                      {/foreach}
                    </span>
                </div>
                <span class="Validform_checktip">*</span>
            </dd>
        </dl>
        <dl>
            <dt>公告类型：</dt>
            <dd id="bySysType">
                <div class="rule-multi-radio">
                    <span style="display: none;">
                    {foreach name="bySysType" item="val"}
                      <input type="radio" id="{$key}" name="bySysType" value="{$key}"{notempty name="row.bySysType"}{eq name="row.bySysType" value="$key"} checked{/eq}{/notempty} /><label>{$key}={$val}</label>
                    {/foreach}
                    </span>
                </div>
                <span class="Validform_checktip">*</span>
            </dd>
        </dl>
        <dl id="ChannelType">
            <dt>渠道范围：</dt>
            <dd>
                <div class="rule-multi-radio">
                <span style="display: none;">
                  {foreach name="CHANNEL" item="val"}
                  <input type="radio" name="channel" value="{$val.ID}" {eq name="$Channels" value="$val.ID"} checked{/eq} /><label>{$val.ID}={$val.Name}</label>
                  {/foreach}
                </span>
                </div>
                <span class="Validform_checktip">*</span>
            </dd>
        </dl>
        <dl>
            <dt>滚动次数：</dt>
            <dd>
                <input type="text" name="byRollCount" class="input small" value="{$row.byRollCount??0}">
                <span class="Validform_checktip">* 滚动次数大于0</span>
            </dd>

        </dl>
        <dl>
            <dt>优先级别：</dt>
            <dd>
                <input type="text" name="byPriority" class="input small"  value="{$row.byPriority??0}">
                <span class="Validform_checktip">* 优先级大于0</span>
            </dd>

        </dl>

        <dl>
            <dt>启用状态：</dt>
            <dd>
                <div class="rule-single-checkbox">
                    <input type="checkbox" name="IsPass" value="1"{notempty name="row.IsPass"}{eq name="row.IsPass" value="1"} checked{/eq}{/notempty} />
                </div>
                <span class="Validform_checktip">* 是否禁用该条公告</span>
            </dd>
        </dl>
        <dl>
            <dt>开始时间：</dt>
            <dd>
                <input type="text" class="input rule-date-input" id="CreateDate" {literal}onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss', maxDate:'#F{$dp.$D(\'CreateDate\')}'})"{/literal} name="CreateDate" value="{:substr($row.CreateDate??'', 0, 19)}" />
                <span class="Validform_checktip">*</span>
            </dd>
        </dl>
        <dl><dt>创建时间：</dt><dd>{$row.CreateDate??''}</dd></dl>
    </form>
</div>
<!--/内容-->
<script>
</script>
</body>
{/block}